package com.trustasia.util;

import java.util.HashMap;
import java.util.Map;

public class ResultData {
	private Map<String,Object> map = new HashMap<String, Object>();

	public Map<String, Object> getMap() {
		return map;
	}
	
	public ResultData ok(){
		map.put("code", 0);
		return this;
	}
	
	public ResultData put(String key,Object value){
		map.put(key, value);
		return this;
	}
}
